//
//  EFADangerTCell.h
//  efairy
//
//  Created by XiangDongMBP on 2017/11/7.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class EFADangerTCell;
@protocol EFADangerTCellDelegate <NSObject>
@optional
- (void)dangerTCell:(EFADangerTCell *)cell imgViewTapped:(NSArray<UIImageView *> *)imgViewArray indexPath:(NSIndexPath *)cIndexPath;
@end

@class EFADangerListItem;
@interface EFADangerTCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *portraitImgView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *pjtNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *stateLabel;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *collectionViewHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *collectionViewWidth;

@property (weak, nonatomic) EFADangerListItem *item;
@property (weak, nonatomic) id<EFADangerTCellDelegate>delegate;

- (void)configViewWithDangerListItem:(EFADangerListItem *)item;
@end
